package com.wxzz.elearing.evaluation.service.openfeign.sentinel;

import com.wxzz.elearing.evaluation.service.openfeign.IWxUserApiFeign;
import com.wxzz.elearning.common.dto.FeignWxUserDto;
import com.wxzz.elearning.common.vo.ReturnVO;
import org.springframework.stereotype.Component;

@Component
public class WxUserApiFeignImpl implements IWxUserApiFeign {
    @Override
    public ReturnVO<String> selectEnterpriseByWxUserId(Long wxUserId) {
        ReturnVO<String> returnVO = new ReturnVO<>();
        returnVO.setCode("500");
        returnVO.setMessage("selectEnterpriseByWxUserId调用异常");
        return returnVO;
    }

    @Override
    public ReturnVO<String> selectWxUserByWxUserId(Long wxUserId) {
        ReturnVO<String> returnVO = new ReturnVO<>();
        returnVO.setCode("500");
        returnVO.setMessage("selectWxUserByWxUserId调用异常");
        return returnVO;
    }

    @Override
    public FeignWxUserDto selectFeignWxUserDtoByWxUserId(Long wxUserId) {
        return new FeignWxUserDto();
    }

    @Override
    public ReturnVO<String> selectOrganizationById(Long organizationId) {
        ReturnVO<String> returnVO = new ReturnVO<>();
        returnVO.setCode("500");
        returnVO.setMessage("selectOrganizationById调用异常");
        return returnVO;
    }
}
